POV-Ray : Newsgroups : povray.programming : HF height: bug report : Re: HF height: bug report Server Time
6 Oct 2024 10:49:33 EDT (-0400)
  Re: HF height: bug report  
From: Vadim Sytnikov
Date: 5 Aug 2001 11:59:20
Message: <3b6d6d58@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote in message
news:3b6d4886@news.povray.org...
> In article <3b6d2f36@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:
>
> For example, would you consider the legal code ISO C/C++ "long I =
'abcd';"
> worth a (by default on) warning?

Yes, definitely. Although it's legal, it is implementation-defined
(i.e. the characters are mapped into the execution character set
in the implementation-defined manner). BTW, that's the reason
behind the MKFOURCC macro in Windows.h.

That's especially important for POV-Ray. Just imagine porting code with
that constant to, say, ancient Honeywell Bull with 36-bit chars...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.